package domain;

public class Vehicle {
    private Integer id;

    private String driver;

    private String remark;

    private String routeName;

    private String routeType;

    private String snipper;

    private String telephone;

    private Integer ton;

    private String vehicleNum;

    private String vehicleType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getRouteType() {
        return routeType;
    }

    public void setRouteType(String routeType) {
        this.routeType = routeType;
    }

    public String getSnipper() {
        return snipper;
    }

    public void setSnipper(String snipper) {
        this.snipper = snipper;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Integer getTon() {
        return ton;
    }

    public void setTon(Integer ton) {
        this.ton = ton;
    }

    public String getVehicleNum() {
        return vehicleNum;
    }

    public void setVehicleNum(String vehicleNum) {
        this.vehicleNum = vehicleNum;
    }

    public String getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", driver=").append(driver);
        sb.append(", remark=").append(remark);
        sb.append(", routeName=").append(routeName);
        sb.append(", routeType=").append(routeType);
        sb.append(", snipper=").append(snipper);
        sb.append(", telephone=").append(telephone);
        sb.append(", ton=").append(ton);
        sb.append(", vehicleNum=").append(vehicleNum);
        sb.append(", vehicleType=").append(vehicleType);
        sb.append("]");
        return sb.toString();
    }
}